/* pages/news-detail/news-detail.wxss */
.container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-top: 20rpx;
}

/* 返回按钮样式 */
.back-btn {
  position: fixed;
  top: 20rpx;
  left: 20rpx;
  width: 60rpx;
  height: 60rpx;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.back-icon {
  font-size: 32rpx;
  color: #333;
}

/* 加载状态 */
.loading {
  text-align: center;
  padding: 100rpx 0;
  color: #666;
  font-size: 30rpx;
}

.content-wrapper {
  padding: 0 30rpx 60rpx;
}

/* 新闻详情样式 */
.news-detail {
  background-color: #fff;
  border-radius: 16rpx;
  padding: 40rpx 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.title {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-bottom: 30rpx;
  display: block;
}

.meta {
  display: flex;
  color: #999;
  font-size: 26rpx;
  margin-bottom: 30rpx;
  padding-bottom: 20rpx;
  border-bottom: 1rpx solid #f1f1f1;
}

.source {
  margin-right: 30rpx;
}

.content {
  width: 100%;
}

.text-content {
  font-size: 30rpx;
  color: #333;
  line-height: 1.8;
  display: block;
  margin-bottom: 30rpx;
  text-align: justify;
}

.img {
  width: 100%;
  margin: 30rpx 0;
  border-radius: 8rpx;
}

/* 空状态提示 */
.empty-tip {
  text-align: center;
  padding: 200rpx 0;
  color: #999;
  font-size: 30rpx;
}